home *** CD-ROM | disk | FTP | other *** search
/ PCGUIA 2010 Software/Programs / PCGuia_programas.iso / Software / Utils / Universal Viewer / UniversalViewer.exe / Plugins / Syn2 / HL / JCL.lcf < prev    next >
Encoding:
Text File  |  2007-12-12  |  10.4 KB  |  462 lines

  1. object SyntAnal33: TLibSyntAnalyzer
  2.   Formats = <
  3.     item
  4.       DisplayName = 'Default'
  5.       Font.Charset = DEFAULT_CHARSET
  6.       Font.Color = clWindowText
  7.       Font.Height = -13
  8.       Font.Name = 'Courier New'
  9.       Font.Style = []
  10.       FormatType = ftCustomFont
  11.     end
  12.     item
  13.       DisplayName = 'Comment'
  14.       Font.Charset = DEFAULT_CHARSET
  15.       Font.Color = clGreen
  16.       Font.Height = -13
  17.       Font.Name = 'Courier New'
  18.       Font.Style = []
  19.     end
  20.     item
  21.       DisplayName = 'Symbol'
  22.       Font.Charset = DEFAULT_CHARSET
  23.       Font.Color = clRed
  24.       Font.Height = -13
  25.       Font.Name = 'Courier New'
  26.       Font.Style = []
  27.     end
  28.     item
  29.       DisplayName = 'Label'
  30.       Font.Charset = DEFAULT_CHARSET
  31.       Font.Color = clBlack
  32.       Font.Height = -13
  33.       Font.Name = 'Courier New'
  34.       Font.Style = []
  35.     end
  36.     item
  37.       DisplayName = 'Opcode'
  38.       Font.Charset = DEFAULT_CHARSET
  39.       Font.Color = clBlue
  40.       Font.Height = -13
  41.       Font.Name = 'Courier New'
  42.       Font.Style = []
  43.     end
  44.     item
  45.       DisplayName = 'Operands'
  46.       Font.Charset = DEFAULT_CHARSET
  47.       Font.Color = clBlack
  48.       Font.Height = -13
  49.       Font.Name = 'Courier New'
  50.       Font.Style = []
  51.     end
  52.     item
  53.       DisplayName = 'String'
  54.       Font.Charset = DEFAULT_CHARSET
  55.       Font.Color = clPurple
  56.       Font.Height = -13
  57.       Font.Name = 'Courier New'
  58.       Font.Style = []
  59.     end
  60.     item
  61.       DisplayName = 'Slash'
  62.       Font.Charset = DEFAULT_CHARSET
  63.       Font.Color = clMaroon
  64.       Font.Height = -13
  65.       Font.Name = 'Courier New'
  66.       Font.Style = []
  67.     end
  68.     item
  69.       DisplayName = 'Sysin section'
  70.       Font.Charset = DEFAULT_CHARSET
  71.       Font.Color = clMaroon
  72.       Font.Height = -13
  73.       Font.Name = 'Courier New'
  74.       Font.Style = []
  75.       BgColor = clInfoBk
  76.     end
  77.     item
  78.       DisplayName = 'Sysin word'
  79.       Font.Charset = DEFAULT_CHARSET
  80.       Font.Color = clMaroon
  81.       Font.Height = -13
  82.       Font.Name = 'Courier New'
  83.       Font.Style = []
  84.     end
  85.     item
  86.       DisplayName = 'Sysin symbol'
  87.       Font.Charset = DEFAULT_CHARSET
  88.       Font.Color = clMaroon
  89.       Font.Height = -13
  90.       Font.Name = 'Courier New'
  91.       Font.Style = []
  92.     end
  93.     item
  94.       DisplayName = 'Sysin string'
  95.       Font.Charset = DEFAULT_CHARSET
  96.       Font.Color = clMaroon
  97.       Font.Height = -13
  98.       Font.Name = 'Courier New'
  99.       Font.Style = []
  100.     end>
  101.   TokenRules = <
  102.     item
  103.       DisplayName = 'Sysin word'
  104.       StyleName = 'Sysin word'
  105.       BlockName = 'Sysin section'
  106.       TokenType = 2
  107.       Expression = '\w+'
  108.       ColumnFrom = 0
  109.       ColumnTo = 0
  110.     end
  111.     item
  112.       DisplayName = 'Comment'
  113.       StyleName = 'Comment'
  114.       TokenType = 1
  115.       Expression = '^//\*.*'
  116.       ColumnFrom = 0
  117.       ColumnTo = 0
  118.     end
  119.     item
  120.       DisplayName = 'End Line Comment'
  121.       StyleName = 'Comment'
  122.       TokenType = 1
  123.       Expression = '\x20.*'
  124.       ColumnFrom = 72
  125.       ColumnTo = 0
  126.     end
  127.     item
  128.       DisplayName = 'Slash'
  129.       StyleName = 'Slash'
  130.       TokenType = 10
  131.       Expression = '//'
  132.       ColumnFrom = 1
  133.       ColumnTo = 2
  134.     end
  135.     item
  136.       DisplayName = 'SlashWithAsterisk'
  137.       StyleName = 'Slash'
  138.       Expression = '/\*'
  139.       ColumnFrom = 1
  140.       ColumnTo = 2
  141.     end
  142.     item
  143.       DisplayName = 'Label'
  144.       StyleName = 'Label'
  145.       TokenType = 11
  146.       Expression = '\w+'
  147.       ColumnFrom = 3
  148.       ColumnTo = 3
  149.     end
  150.     item
  151.       DisplayName = 'Opcode'
  152.       TokenType = 12
  153.       Expression = '\w+'
  154.       ColumnFrom = 5
  155.       ColumnTo = 15
  156.     end
  157.     item
  158.       DisplayName = 'Operands'
  159.       StyleName = 'Operands'
  160.       TokenType = 13
  161.       Expression = '\w+'
  162.       ColumnFrom = 16
  163.       ColumnTo = 72
  164.     end
  165.     item
  166.       DisplayName = 'Sysin string'
  167.       StyleName = 'Sysin string'
  168.       BlockName = 'Sysin section'
  169.       TokenType = 4
  170.       Expression = #39'.*?('#39'|$)'
  171.       ColumnFrom = 0
  172.       ColumnTo = 0
  173.     end
  174.     item
  175.       DisplayName = 'String'
  176.       StyleName = 'String'
  177.       TokenType = 4
  178.       Expression = #39'.*?('#39'|$)'#13#10
  179.       ColumnFrom = 0
  180.       ColumnTo = 0
  181.     end
  182.     item
  183.       DisplayName = 'Sysin symbol'
  184.       StyleName = 'Sysin symbol'
  185.       BlockName = 'Sysin section'
  186.       TokenType = 3
  187.       Expression = '[/\*,\.;:\(\)=<>\+\-\[\]]'
  188.       ColumnFrom = 0
  189.       ColumnTo = 0
  190.     end
  191.     item
  192.       DisplayName = 'Symbol'
  193.       StyleName = 'Symbol'
  194.       TokenType = 3
  195.       Expression = '[/\*,\.;:\(\)=<>\+\-\[\]]'
  196.       ColumnFrom = 0
  197.       ColumnTo = 72
  198.     end
  199.     item
  200.       DisplayName = 'NewLine'
  201.       BlockName = 'Sysin section'
  202.       TokenType = 14
  203.       Expression = '\n'
  204.       ColumnFrom = 0
  205.       ColumnTo = 0
  206.     end>
  207.   BlockRules = <
  208.     item
  209.       DisplayName = 'Exec section'
  210.       BlockName = 'Main section'
  211.       ConditionList = <
  212.         item
  213.           TagList.Strings = (
  214.             'EXEC')
  215.           TokenTypes = 4096
  216.         end
  217.         item
  218.           TokenTypes = 2048
  219.         end
  220.         item
  221.           TagList.Strings = (
  222.             '//')
  223.           TokenTypes = 1024
  224.         end>
  225.       BlockOffset = 2
  226.       EndOfTextClose = True
  227.       HighlightPos = cpAny
  228.       SelfClose = True
  229.       IgnoreAsParent = False
  230.     end
  231.     item
  232.       DisplayName = 'Exec main end'
  233.       BlockName = 'Exec section'
  234.       BlockType = btRangeEnd
  235.       ConditionList = <
  236.         item
  237.           TagList.Strings = (
  238.             'JOB'
  239.             'PROC')
  240.           TokenTypes = 4096
  241.         end>
  242.       BlockOffset = 4
  243.       BlockEnd = 'Exec section'
  244.       HighlightPos = cpAny
  245.       IgnoreAsParent = False
  246.     end
  247.     item
  248.       DisplayName = 'Key words'
  249.       StyleName = 'Opcode'
  250.       BlockType = btTagDetect
  251.       ConditionList = <
  252.         item
  253.           TagList.Strings = (
  254.             'CNTL'
  255.             'COMMAND'
  256.             'DD'
  257.             'ELSE'
  258.             'ENDCNTL'
  259.             'ENDIF'
  260.             'EXEC'
  261.             'IF'
  262.             'INCLUDE'
  263.             'JCLLIB'
  264.             'JOB'
  265.             'OUTPUT'
  266.             'PEND'
  267.             'PROC'
  268.             'SET'
  269.             'THEN'
  270.             'XMIT')
  271.           TokenTypes = 4096
  272.           IgnoreCase = True
  273.         end>
  274.       HighlightPos = cpAny
  275.       IgnoreAsParent = False
  276.     end
  277.     item
  278.       DisplayName = 'Sysin section'
  279.       StyleName = 'Sysin section'
  280.       BlockName = 'Exec section'
  281.       ConditionList = <
  282.         item
  283.           TagList.Strings = (
  284.             '*'
  285.             'DATA')
  286.         end
  287.         item
  288.           TagList.Strings = (
  289.             'DD')
  290.           TokenTypes = 4096
  291.         end
  292.         item
  293.           TagList.Strings = (
  294.             'SYSIN'
  295.             'SYSTSIN')
  296.           TokenTypes = 2048
  297.           IgnoreCase = True
  298.         end
  299.         item
  300.           TagList.Strings = (
  301.             '//')
  302.           TokenTypes = 1024
  303.           IgnoreCase = True
  304.         end>
  305.       EndOfTextClose = True
  306.       Highlight = True
  307.       DisplayInTree = False
  308.       DynHighlight = dhRange
  309.       HighlightPos = cpAny
  310.       IgnoreAsParent = False
  311.     end
  312.     item
  313.       DisplayName = 'Exec sysin end'
  314.       BlockName = 'Sysin section'
  315.       BlockType = btRangeEnd
  316.       ConditionList = <
  317.         item
  318.           TokenTypes = 1024
  319.         end>
  320.       BlockOffset = 2
  321.       BlockEnd = 'Exec section'
  322.       HighlightPos = cpAny
  323.       IgnoreAsParent = False
  324.     end
  325.     item
  326.       DisplayName = 'Sysin end'
  327.       BlockName = 'Sysin section'
  328.       BlockType = btRangeEnd
  329.       ConditionList = <
  330.         item
  331.           TokenTypes = 1024
  332.         end>
  333.       BlockOffset = 2
  334.       BlockEnd = 'Sysin section'
  335.       HighlightPos = cpAny
  336.       IgnoreAsParent = False
  337.     end
  338.     item
  339.       DisplayName = 'Sysin comment end'
  340.       BlockName = 'Sysin section'
  341.       BlockType = btRangeEnd
  342.       ConditionList = <
  343.         item
  344.           TokenTypes = 2
  345.         end>
  346.       BlockOffset = 2
  347.       BlockEnd = 'Sysin section'
  348.       HighlightPos = cpAny
  349.       IgnoreAsParent = False
  350.     end
  351.     item
  352.       DisplayName = 'Block comment'
  353.       BlockName = 'Block comment'
  354.       NotParent = True
  355.       ConditionList = <
  356.         item
  357.           TokenTypes = 2
  358.         end>
  359.       EndOfTextClose = True
  360.       DisplayInTree = False
  361.       HighlightPos = cpAny
  362.       IgnoreAsParent = False
  363.     end
  364.     item
  365.       DisplayName = 'Block comment end'
  366.       BlockType = btRangeEnd
  367.       ConditionList = <
  368.         item
  369.           CondType = tcNotEqual
  370.           TokenTypes = 2
  371.         end
  372.         item
  373.           TokenTypes = 2
  374.         end>
  375.       BlockOffset = 1
  376.       BlockEnd = 'Block comment'
  377.       HighlightPos = cpAny
  378.       IgnoreAsParent = False
  379.     end
  380.     item
  381.       DisplayName = 'Exec separator'
  382.       BlockType = btLineBreak
  383.       ConditionList = <
  384.         item
  385.           TagList.Strings = (
  386.             'EXEC')
  387.           TokenTypes = 4096
  388.         end>
  389.       HighlightPos = cpAny
  390.       CollapseFmt = '...'
  391.       IgnoreAsParent = False
  392.     end
  393.     item
  394.       DisplayName = 'Main separator'
  395.       BlockType = btLineBreak
  396.       ConditionList = <
  397.         item
  398.           TagList.Strings = (
  399.             'JOB'
  400.             'PROC')
  401.           TokenTypes = 4096
  402.         end>
  403.       HighlightPos = cpAny
  404.       IgnoreAsParent = False
  405.     end
  406.     item
  407.       DisplayName = 'Main section'
  408.       ConditionList = <
  409.         item
  410.           TagList.Strings = (
  411.             'JOB'
  412.             'PROC')
  413.           TokenTypes = 4096
  414.         end>
  415.       BlockOffset = 2
  416.       EndOfTextClose = True
  417.       HighlightPos = cpAny
  418.       SelfClose = True
  419.       IgnoreAsParent = False
  420.     end>
  421.   CodeTemplates = <>
  422.   SubAnalyzers = <>
  423.   SampleText.Strings = (
  424.     '//*'
  425.     '//* test'
  426.     '//*'
  427.     '//TEST    EXEC 1=1'
  428.     '//A       DD S=1'
  429.     '//SYSIN   DD *'
  430.     ' sdfsd'
  431.     ' ddd'
  432.     '//DEMO    EXEC 2=2'
  433.     '//SYSIN   DD DATA,TEST'
  434.     ' (sdfsd)'
  435.     ' ddd'
  436.     '/*')
  437.   TokenTypeNames.Strings = (
  438.     'Unknown'
  439.     'Comment'
  440.     'Identifier'
  441.     'Symbol'
  442.     'String'
  443.     'Integer const'
  444.     'Float const'
  445.     'Hex const'
  446.     'Char const'
  447.     'Preprocessor'
  448.     'Slashes'
  449.     'Label'
  450.     'Opcode'
  451.     'Operands'
  452.     'NewLine')
  453.   DefaultStyleName = 'Default'
  454.   Extentions = 'jcl'
  455.   LexerName = 'JCL'
  456.   SkipSpaces = False
  457.   Notes.Strings = (
  458.     'Author: Javier Santo Domingo')
  459.   Left = 140
  460.   Top = 160
  461. end
  462.